The line-height property defines the amount of space above and below inline elements. That is, elements that are set to display: inline or display: inline- ...
The line-height CSS property sets the height of a line box in horizontal writing modes. In vertical writing modes, it sets the width of a line box. Try it · Syntax
I have a box in CSS with fixed dimensions, enough to fit any of my texts. I don't want white space between the end of the text and the bottom box border.
Definition and Usage. The line-height property specifies the height of a line. Note: Negative values are not allowed. Try it Yourself · Show demo · Letter spacing